import express from "express";
import adminRouter from "./admin/index";
import { adminAuthMiddleware } from "@/middleware/admin/auth";

const router = express.Router();

router.get("/", (req, res) => res.send("This is the API root!"));
router.use('/admin-api', adminAuthMiddleware, adminRouter);

export default router;
